#ifndef __OLED_H
#define __OLED_H
#include "stm32f10x.h"
void OLED_I2C_Init(void);
void OLED_I2C_Start(void);
void OLED_I2C_Stop(void);

void OLED_I2C_SendByte(uint8_t Byte);
void OLED_WriteCommand(uint8_t Command);
void OLED_WriteData(uint8_t Data);

void OLED_SetCursor(uint8_t Y, uint8_t X);
void oled_setpos(unsigned char x,unsigned char y);
void OLED_Clear(void);
void OLED_ShowChar(uint8_t Line, uint8_t Column, char Char);
void OLED_ShowString(uint8_t Line, uint8_t Column, char *String);
void OLED_ShowStr(unsigned char x, unsigned char y, unsigned char ch[], unsigned char TextSize);
uint32_t OLED_Pow(uint32_t X, uint32_t Y);
void OLED_ShowNum(uint8_t Line, uint8_t Column, uint32_t Number, uint8_t Length);
void OLED_ShowSignedNum(uint8_t Line, uint8_t Column, int32_t Number, uint8_t Length);
void OLED_ShowHexNum(uint8_t Line, uint8_t Column, uint32_t Number, uint8_t Length);
void OLED_ShowBinNum(uint8_t Line, uint8_t Column, uint32_t Number, uint8_t Length);
void OLED_DrawBMP(unsigned char x0,unsigned char y0,unsigned char x1,unsigned char y1,unsigned char BMP[]);
void OLED_Init(void);
void OLED_Char(unsigned char x, unsigned char y, unsigned char c);
void OLED_KE(void);
void OLED_HD(void);
void OLED_AE86_Init(void);
void OLED_AE86(void);
void OLED_BMP(void);
void OLED_ShowSignedNumXS(uint8_t Line, uint8_t Column, int32_t Number, uint8_t Length);


#endif

